package com.ds.lens.data.security;

import javax.servlet.http.HttpServletRequest;

/**
 * Description:
 * 鉴权接口
 *
 * @author WeiShaoying
 * @date 2019-11-06
 */
public interface Authentication {

    /**
     * 鉴权
     *
     * @param request
     * @return 状态码  200 or 401 or 403
     */
    int authentication(HttpServletRequest request);
}
